package com.zzs.client.pojo.vo.submit;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author zzs
 * @date 2025/04/13
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CodeSubmitVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private long id;
    private int language;
    private int status;
    private long useTime;
    private long useMemory;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
